-- GENERATED SPELL FOR [Marosh the Devious] --


function spell0_11714(pUnit, Event) --@Faerie Fire,n/a--
pUnit:FullCastSpellOnTarget(6950,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11714', 2000, 1)
end

function spell1_11714(pUnit, Event) --@Thrash,Self--
pUnit:FullCastSpellOnTarget(3391,pUnit)
pUnit:RegisterEvent('Sorts_11714', 594, 1)
end

function Sorts_11714(pUnit, Event)
local choix_sorts_11714 = math.random(0, 1)
if choix_sorts_11714 == 0 then
pUnit:RegisterEvent('spell0_11714', 1, 1)
end
if choix_sorts_11714 == 1 then
pUnit:RegisterEvent('spell1_11714', 1, 1)
end
end

function mob11714_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_11714', math.random(1500, 3000), 1)
end

function mob11714_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11714_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11714_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(11714, 1, 'mob11714_Action')
RegisterUnitEvent(11714, 2, 'mob11714_Leave')
RegisterUnitEvent(11714, 3, 'mob11714_Kill')
RegisterUnitEvent(11714, 4, 'mob11714_Die')
